<template>
  <div id="app">
    <h1>动态绑定类名</h1>
    <NavBar />
  </div>
</template>

<script>
import NavBar from './NavBar';
export default {
  components: {
    NavBar,
  },
};
</script>

<style>
#app {
  text-align: center;
}
</style>
